package com.taldh.netty.server;

import io.netty.bootstrap.Bootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelOption;

/**
 * date 2020/8/3
 *
 * @author 袁小黑
 * @version 1.0.0
 **/

public class NettyEchoClientT {
    public static void main(String[] args) {
        Bootstrap bootstrap = new Bootstrap();
        bootstrap.option(ChannelOption.SO_SNDBUF, 8 * 1024);
        bootstrap.option(ChannelOption.SO_RCVBUF, 8 * 1024);
        ChannelFuture connect = bootstrap.connect("127.0.0.1", 8000);

    }
}
